<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>music</title>
        <link href="style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="jquery.js">
        </script>
        <script type="text/javascript" src="jquery.livequery.js">
        </script>
        <script language="javascript" type="text/javascript">
            
            $(document).ready(function(){
                Array.prototype.baoremove = function(dx){
                    if (isNaN(dx) || dx > this.length) {
                        return false;
                    }
                    this.splice(dx, 1);
                }
                Array.prototype.remove = function(dx){
                    if (isNaN(dx) || dx > this.length) {
                        return false;
                    }
                    for (var i = 0, n = 0; i < this.length; i++) {
                        if (this[i] != this[dx]) {
                            this[n++] = this[i]
                        }
                    }
                    this.length -= 1
                }
                var songlist = new Array();
                var current_list_id = 0;
                $(".file_select").hide();
                $(".play_list_add_song").click(function(){
                    $(".file_select").show("slow", get_file_list);
                });
                $(".file_select_cancel").click(function(){
                    $(".file_select").hide("slow");
                });
                $(".file_select_head_close").click(function(){
                    $(".file_select").hide("slow");
                });
                $(".file_select_add_song").click(function(){
                    add_song = "";
                    $("#server_file").find("label").each(function(i){
                        if ($(this).children("input").attr('checked') != undefined) {
                        
                            //alert($(this).children("input").val());
                            //alert($(this).children("input").attr("name"));
                            var tmp_song_list = new Array($(this).children("input").val(), $(this).children("input").attr("name"));
                            songlist.push(tmp_song_list);
                            //alert(songlist[i][1]);
                            add_song = add_song + '&' + $(this).children("input").val();
                        };
                                });
                    $.post("add_song_record.php", {
                        songs: add_song
                    });
                    flash_song_list();
                     $(".file_select_reset").trigger("click");
                    
                });
                function get_file_list(path){
                    //alert("ok");
                    if (path) {
                        path = "dir=" + path;
                    }
                    else {
                        path = "";
                    }
                    //alert(path);
                    $.ajax({
                        type: 'POST',
                        url: "get_file_list.php",
                        data: path,
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $(".file_select .file_select_server_file").html("waiting");
                            
                        },
                        success: function(html){
                            $(".file_select .file_select_server_file").html(html);
                        }
                        
                    });
                    
                };
                $(".file_select_dir").livequery('click', function(){
                    path = $(this).children("input").val();
                    //alert(path);
                    get_file_list(path);
                });
                $(".file_select_select_all").click(function(){
                    $("#server_file").find("label").each(function(i){
                        $(this).children("input").attr('checked', true);
                    });
                    
                    
                });
                $(".file_select_reverse").click(function(){
                    $("#server_file").find("label").each(function(i){
                        if ($(this).children("input").attr('checked') == undefined) {
                            $(this).children("input").attr('checked', true);
                        }
                        else {
                            $(this).children("input").attr('checked', '');
                        }
                    });
                });
                $(".file_select_reset").click(function(){
                    $("#server_file").find("label").each(function(i){
                        $(this).children("input").attr('checked', '');
                    });
                });
                function flash_song_list(){
                    var song_list_html = "";
                    song_list_html = '<form id="play_list_song" name="play_list_form" method="post" action="">';
                    for (i = 0; i < songlist.length; i++) {
                        if (songlist[i]) {
                            song_list_html += '<label><input type="checkbox" name="' + songlist[i][1] + '" value="' + i + '" />' + songlist[i][1] + '</label>'
                        }
                    }
                    song_list_html += '</form>';
                    $(".play_list").html(song_list_html);
                    
                }
                $(".deal_with_song_in_play_list_delete_all").click(function(){
                
                    while (songlist.length > 0) {
                        songlist.pop();
                    }
                    flash_song_list();
                    
                });
                $(".deal_with_song_in_play_list_select_all").click(function(){
                    $("#play_list_song").find("label").each(function(i){
                        $(this).children("input").attr('checked', true);
                    });
                });
                $(".deal_with_song_in_play_list_reset").click(function(){
                    $("#play_list_song").find("label").each(function(i){
                        $(this).children("input").attr('checked', '');
                    });
                });
                
                $(".deal_with_song_in_play_list_reverse").click(function(){
                    $("#play_list_song").find("label").each(function(i){
                        if ($(this).children("input").attr('checked') == undefined) {
                            $(this).children("input").attr('checked', true);
                        }
                        else {
                            $(this).children("input").attr('checked', '');
                        }
                    });
                });
                $(".deal_with_song_in_play_list_delete").click(function(){
                    tmp_delete_mun = new Array();
                    $("#play_list_song").find("label").each(function(i){
                    
                        if ($(this).children("input").attr('checked') != undefined) {
                            tmp_delete_mun.push($(this).children("input").val());
                            //alert($(this).children("input").val());
                            //songlist.remove($(this).children("input").val());
                            //flash_song_list();
                            //$(this).children("input").attr('checked', true);
                        };
                                //alert(tmp_delete_mun);
                    
                    });
                    //alert(tmp_delete_mun);
                    for (i = tmp_delete_mun.length; i > -1; i--) {
                        songlist.baoremove(tmp_delete_mun[i]);
                    }
                    flash_song_list();
                });
                $(".play_list_func_save_this_list").click(function(){
                    if (current_list_id == 0) {
                        alert("您还没选择列表！");
                    }
                    else {
                        var play_list_song_name = "";
                        var play_list_song_path = "";
                        for (i = 0; i < songlist.length; i++) {
                            if (songlist[i]) {
                                play_list_song_name = play_list_song_name + '&' + songlist[i][1];
                                play_list_song_path = play_list_song_path + '&' + songlist[i][0];
                            }
                        }
                        $.post("save_play_list.php", {
                            name: play_list_song_name,
                            path: play_list_song_path,
                            list: current_list_id
                        }, function(msg){
                            alert(msg);
                        });
                    }
                    
                });
                $(".play_list_func_select_list").click(function(){
                    flash_select_song_list();
                    //$("#select_song_list").slideDown("slow");
                
                });
                //				$("input[@name=song_list]").click(function(){
                //					alert($('input[@name=song_list][@checked]').val());
                //					$("#select_song_list").slideUp("slow");
                //				});
                $("input[@name=song_list]").livequery("click", function(){
                    current_list_id = $('input[@name=song_list][@checked]').val();
                    get_this_list(current_list_id);
                    
                    $("#select_song_list").slideUp("slow");
                });
                $("#select_song_list").children("input[@name=select_song_list_cancel]").livequery("click", function(){
                    $("#select_song_list").slideUp("slow");
                });
                function flash_select_song_list(user){
                    if (!user) {
                        user = '';
                    }
                    $.ajax({
                        type: 'POST',
                        url: "flash_select_song_list.php",
                        data: "user_name=" + user,
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $("#select_song_list").html("waiting");
                            $("#select_song_list").slideDown("fast");
                            
                        },
                        success: function(html){
                            $("#select_song_list").slideUp("fast", function(){
                                $("#select_song_list").html(html);
                            });
                            
                            $("#select_song_list").slideDown("slow");
                        }
                        
                    });
                    
                }
                function get_this_list(list_id, user){
                    if (!list_id) {
                        list_id = '';
                    }
                    if (!user) {
                        user = '';
                    }
                    //alert(list_id);
                    $.ajax({
                        type: 'POST',
                        url: "get_this_list.php",
                        data: "list_id=" + list_id + "&user_name=" + user,
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $(".play_list").html("waiting");
                            
                        },
                        success: function(html){
                            var tmp_html = html;
                            var tmp_array = new Array();
                            while (songlist.length > 0) {
                                songlist.pop();
                            }
                            tmp_array = tmp_html.split("|");
                            for (i = 0; i < tmp_array.length - 1; i++) {
                                tmp_array_2 = tmp_array[i].split("*");
                                songlist.push(tmp_array_2);
                            }
                            flash_song_list();
                        }
                        
                    });
                    
                }
                $(".play_list_func_list_save_to").click(function(){
                    $(".select_song_save_as_input").slideDown("slow");
                });
                $(".play_list_func_delete_list").click(function(){
                    $.post("find_list_to_delete.php", function(html){
                        $("#select_delete_list").html(html);
                        $("#select_delete_list").slideDown("slow");
                    })
                    
                });
                $("input[@name=submit_select_delete_list]").livequery("click", function(){
                    var list_to_delete = "";
                    $("input[@name=list_name]").each(function(){
                        if ($(this).attr('checked') != undefined) {
                            list_to_delete += ($(this).val());
                            list_to_delete += '&';
                        }
                    });
                    alert(list_to_delete);
                    $.post("delete_these_list.php", {
                        lists: list_to_delete
                    });
                    $("#select_delete_list").slideUp("slow");
                });
                $("input[@name=select_delete_list_cancel]").livequery("click", function(){
                    $("#select_delete_list").slideUp("slow");
                });
                document.ondblclick = function() 
{ 
  				if ($(event.srcElement).parent().attr("id") == "play_list_song") {
					current_song_id=$(event.srcElement).children("input").val()
					//alert(current_song_id);
					play_song(current_song_id);
					//alert($(event.srcElement).children("input").val());
					
				}

    
     
} 

                //				$("input[@name=submit_select_delete_list]").click(function(){
                //					$("#select_delete_list").slideUp("slow");
                //				});
                //			$("input[@name=select_delete_list_cancel]").click(function(){
                //				$("#select_delete_list").slideUp("slow");
                //			});
                $("input[@name=submit_save_as_song_list_name]").click(function(){
                    var save_as_song_list_name = $("input[@name=save_as_song_list_name]").attr("value");
                    $("input[@name=save_as_song_list_name]").attr("value", "");
                    //alert (save_as_song_list_name);
                    if (save_as_song_list_name != undefined) {
                        if (save_as_song_list_name.length < 100) {
                            $.post("add_list_name.php", {
                                list_name: save_as_song_list_name
                            }, function(list_id){
                                if (list_id == -1) {
                                    alert("列表已存在");
                                }
                                else {
                                    current_list_id = list_id;
                                    var play_list_song_name = "";
                                    var play_list_song_path = "";
                                    for (i = 0; i < songlist.length; i++) {
                                        if (songlist[i]) {
                                            play_list_song_name = play_list_song_name + '&' + songlist[i][1];
                                            play_list_song_path = play_list_song_path + '&' + songlist[i][0];
                                        }
                                    }
                                    $.post("save_play_list.php", {
                                        name: play_list_song_name,
                                        path: play_list_song_path,
                                        list: current_list_id
                                    }, function(msg){
                                        alert(msg);
                                    });
                                }
                            });
                        }
                        else {
                            alert("too long");
                        }
                    }
                    $(".select_song_save_as_input").slideUp("slow");
                });
                $(".top_played_and_commemd_head_top_played").click(function(){
                    //$(".top_played_and_commemd_body").html("waiting");
					$(this).parent().children().not(this).css({
						backgroundColor: "#ffffff"
					});
                    $(this).css({
                        backgroundColor: "#ffff99"
                    });
                    //$(".top_played_and_commemd_head_top_commend").css({
                    //    backgroundColor: "#ffffff"
                    //});
                    $.ajax({
                        type: 'POST',
                        url: "make_top_played.php",
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $(".top_played_and_commemd_body").html("waiting");
                            
                        },
                        success: function(html){
                            //alert(html);
                            $(".top_played_and_commemd_body").html(html);
                        }
                        
                    });
                });
                
                $(".top_played_and_commemd_head_top_commend").click(function(){
                    $(this).parent().children().not(this).css({
						backgroundColor: "#ffffff"
					});
                    $(this).css({
                        backgroundColor: "#ffff99"
                    });
                    $.ajax({
                        type: 'POST',
                        url: "make_top_commended.php",
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $(".top_played_and_commemd_body").html("waiting");
                            
                        },
                        success: function(html){
                            //alert(html);
                            $(".top_played_and_commemd_body").html(html);
                        }
                        
                    });
                    
                });
				$(".top_played_and_commemd_head_top_search").click(function(){
					$(this).parent().children().not(this).css({
						backgroundColor: "#ffffff"
					});
                    $(this).css({
                        backgroundColor: "#ffff99"
                    });
					$.ajax({
                        type: 'POST',
                        url: "get_top_search.php",
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $(".top_played_and_commemd_body").html("waiting");
                            
                        },
                        success: function(html){
                            //alert(html);
                            $(".top_played_and_commemd_body").html(html);
                        }
                        
                    });
					
					
				});
				function search(search_word){
					$.ajax({
                        type: 'POST',
                        url: "search_in_record.php",
						data: "search_word=" + search_word ,
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $("#top_played").html("waiting");
                            
                        },
                        success: function(html){
                            //alert(html);
                            $("#top_played").html(html);
                        }
                        
                    });
				}
				$(".top_played_and_commemd_body_search_submit").livequery("click",function(){
					var search_word="";
					search_word=$(".top_played_and_commemd_body_search_input").val();
					search(search_word);
				});
				$(".top_search").livequery("click",function(){
					search($(this).html());
				});
                $(".top_played_and_commemd_head_top_played").trigger("click");
                $(".top_select_select_all").click(function(){
                    $("#top_played").find("label").each(function(i){
                        $(this).children("input").attr('checked', true);
                    });
                    
                    
                });
                $(".top_select_reverse").click(function(){
                    $("#top_played").find("label").each(function(i){
                        if ($(this).children("input").attr('checked') == undefined) {
                            $(this).children("input").attr('checked', true);
                        }
                        else {
                            $(this).children("input").attr('checked', '');
                        }
                    });
                });
                $(".top_select_reset").click(function(){
                    $("#top_played").find("label").each(function(i){
                        $(this).children("input").attr('checked', '');
                    });
                });
                $(".top_select_add_song").click(function(){
                    add_song = "";
                    $("#top_played").find("label").each(function(i){
                        if ($(this).children("input").attr('checked') != undefined) {
                        
                            //alert($(this).children("input").val());
                            //alert($(this).children("input").attr("name"));
                            var tmp_song_list = new Array($(this).children("input").val(), $(this).children("input").attr("name"));
                            songlist.push(tmp_song_list);
                            //alert(songlist[i][1]);
                            add_song = add_song + '&' + $(this).children("input").val();
                        };
                                });
                    $.post("add_song_record.php", {
                        songs: add_song
                    });
                    flash_song_list();
                     $(".top_select_reset").click();
                    
                });
                var play_list_song_name = "";
                var play_list_song_path = "";
                $(".deal_with_song_in_play_list_commend").click(function(){
                    var commend_song_list = "";
                    var songlist_id = 0;
                    play_list_song_name = "";
                    play_list_song_path = "";
                    $("#play_list_song").find("label").each(function(i){
                        if ($(this).children("input").attr('checked') != undefined) {
                            songlist_id = $(this).children("input").val();
                            commend_song_list += songlist[songlist_id][1];
                            commend_song_list += "<br/>";
                            play_list_song_name = play_list_song_name + '&' + songlist[songlist_id][1];
                            play_list_song_path = play_list_song_path + '&' + songlist[songlist_id][0];
                        }
                        
                    });
                    
                    if (commend_song_list) {
                        $(".commend_window_body_list").html(commend_song_list);
                        $(".commend_window").fadeIn("slow");
                        
                    }
                    else {
                        alert("您还没有选择要推荐的歌曲！");
                    }
                    
                });
                $(".commend_window_head_close").click(function(){
                    $(".commend_window").fadeOut("slow");
                });
                $("input[@name=cancel_commend]").click(function(){
                    $(".commend_window").fadeOut("slow");
                });
                $("input[@name=submit_commend]").click(function(){
                    var commend_text = $("textarea[@name=commend_text]").val();
                    if (!commend_text) {
                        commend_text = "没有评论";
                    }
                    $(".commend_window").fadeOut("slow");
                    $.post("save_commend.php", {
                        name: play_list_song_name,
                        path: play_list_song_path,
                        commend: commend_text
                    }, function(msg){
                        //alert(msg);
                    });
                    play_list_song_name = "";
                    play_list_song_path = "";
                    $("textarea[@name=commend_text]").val('');
                });
                current_song_id = 0;
                function play_song(song_id){
					
                    if (song_id == undefined) {
						
                        song_id = parseInt(current_song_id+1);
						//alert(song_id)
                    }
                    if (songlist[song_id]!= undefined) {
                        current_song_id = song_id;
						flash_song_info_commend();
                        //alert(songlist[song_id][0]);
                        //$("param[@name=FileName]").val(songlist[song_id][0]);
                        //player.fileName=songlist[song_id][0];
                        //var tmp_html=player1+songlist[song_id][0]+player2;
                        //$(".mplayer_count").html(tmp_html);
                        //var player= document.getElementById("player");
                        //player.controls.play();
                        //playobj=document.getElementById("player");
                        //alert(playobj);
						$.ajax({
                        type: 'POST',
                        url: "get_this_song_info.php",
                        data: "name=" + songlist[song_id][1],
                        dataType: 'html',
                        cache: false,
                        beforeSend: function(){
                            $(".song_infor_played_times").html("waiting");
                            
                        },
                        success: function(html){
							//alert(html);
                            $(".song_infor_played_times").html(html);
                        }
                        
                    });
                        $(".song_infor_song_name").html(songlist[song_id][1]);
                        playobj = document.getElementById("player");
                        playobj.url = songlist[song_id][0];
                        playobj.controls.play();
                    }
                    else {
                        $(".song_infor_song_name").html("播放完成");
						$(".song_infor_played_times").html("")
                        current_song_id = 0;
                        //alert("您的播放列表是空的,或播放完成");
                    }
					
                }
				var check_player_flag=1;
                function check_player(){
					if(check_player_flag==1){
                    //var playobj = document.getElementById("player");
                    if (player.currentMedia != undefined) {
                        if (playobj.controls.currentPosition >= player.currentMedia.duration - 1 && playobj.controls.currentPosition > 0) {
							check_player_flag=0;
                            setTimeout(function(){
								check_player_flag=1;
                                //playobj.controls.stop();
                                play_song();
                            }, 1000)
                        }
                    }
					}
                }
                setInterval(check_player, 1000);
                $(".song_play_buttom").click(function(){
                    //$("param[@name=FileName]").val(songlist[0][0]);
                    //player.controls.play();
                    current_song_id = 0;
                    play_song(current_song_id);
                });
				var song_info_commend_flag=0;
				var song_info_commend="";
				function flash_song_info_commend(){
					if (songlist[current_song_id] != undefined) {
						$.ajax({
							type: 'POST',
							url: "get_this_song_commend.php",
							data: "name=" + songlist[current_song_id][1],
							dataType: 'html',
							cache: false,
							beforeSend: function(){
								if(song_info_commend_flag==1){
							//song_info_commend="waiting";
								}
							
							},
							success: function(html){
								//alert(html);
								song_info_commend = html;
								if(song_info_commend_flag==1){
									$(".song_info_commend_text_body").html(song_info_commend);
								}
							}
							
						});
					}
				}
				$(".song_info_commend_text_head_commend").click(function(){
					$(this).css({
						backgroundColor: "#ffffcc"
					});
					$(".song_info_commend_text_head_text").css({
						backgroundColor: "#ffffff"
					});
					if (song_info_commend_flag == 0) {
						
						if (songlist[current_song_id] != undefined) {
							song_info_commend_flag=1;
							$.ajax({
								type: 'POST',
								url: "get_this_song_commend.php",
								data: "name=" + songlist[current_song_id][1],
								dataType: 'html',
								cache: false,
								beforeSend: function(){
									$(".song_info_commend_text_body").html("waiting");
									
								},
								success: function(html){
									//alert(html);
									$(".song_info_commend_text_body").html(html);
								}
								
							});
						}
					}
				});
				$(".song_info_commend_text_head_text").click(function(){
					$(this).css({
						backgroundColor: "#ffffcc"
					});
					$(".song_info_commend_text_head_commend").css({
						backgroundColor: "#ffffff"
					});
					if(song_info_commend_flag==1){
						song_info_commend_flag=0;
						$(".song_info_commend_text_body").html("暂无相关内容");
					}
				});
                
                $(".song_info_commend_text_head_text").click();
                //var player1='<object id="player"  classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"  type="application/x-oleobject" ><!-- ASX File Name --><param name="AutoRewind" value=1><param name="FileName" value="';
                //var player2='"><!-- Display Controls --><param name="ShowControls" value="1"><!-- Display Position Controls --><param name="ShowPositionControls" value="1"><!-- Display Audio Controls --><param name="ShowAudioControls" value="1"><!-- Display Tracker Controls --><param name="ShowTracker" value="1"><!-- Show Display --><param name="ShowDisplay" value="0"><!-- Display Status Bar --><param name="ShowStatusBar" value="1"><!-- Diplay Go To Bar --><param name="ShowGotoBar" value="0"><!-- Display Controls --><param name="ShowCaptioning" value="0"><!-- Player Autostart --><param name="AutoStart" value=1><!-- Animation at Start --><param name="Volume" value="-2500"><param name="AnimationAtStart" value="0"><!-- Transparent at Start --><param name="TransparentAtStart" value="0"><!-- Do not allow a change in display size --><param name="AllowChangeDisplaySize" value="0"><!-- Do not allow scanning --><param name="AllowScan" value="0"><!-- Do not show contect menu on right mouse click --><param name="EnableContextMenu" value="0"><!-- Do not allow playback toggling on mouse click --><param name="ClickToPlay" value="0"></object>';
                //var tmp_html=player1+player2;
                //$(".mplayer_count").html(tmp_html);
                playobj = document.getElementById("player");
			
            });
        </script>
    </head>
    <body>
        <div class="content">
            <div class="left">
                <div class="logo">
                    logo
                </div>
                <div class="call_board">
                    公告
                </div>
                <div class="song_infor">
                    <div class="song_infor_song_name">
                        请添加歌曲--->
                    </div>
                    <div class="song_infor_played_times">
                    
                    </div>
                </div>
                <div class="mplayer_count">
                    <object id="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
                        <!-- ASX File Name -->
                        <param name="AutoRewind" value=1><param name="url" value=""><!-- Display Controls -->
                        <param name="ShowControls" value="1"><!-- Display Position Controls -->
                        <param name="ShowPositionControls" value="1"><!-- Display Audio Controls -->
                        <param name="ShowAudioControls" value="1"><!-- Display Tracker Controls -->
                        <param name="ShowTracker" value="1"><!-- Show Display -->
                        <param name="ShowDisplay" value="0"><!-- Display Status Bar -->
                        <param name="ShowStatusBar" value="1"><!-- Diplay Go To Bar -->
                        <param name="ShowGotoBar" value="0"><!-- Display Controls -->
                        <param name="ShowCaptioning" value="0"><!-- Player Autostart -->
                        <param name="AutoStart" value=1><!-- Animation at Start -->
                        <param name="Volume" value="100"><param name="AnimationAtStart" value="0"><!-- Transparent at Start -->
                        <param name="TransparentAtStart" value="0"><!-- Do not allow a change in display size -->
                        <param name="AllowChangeDisplaySize" value="0"><!-- Do not allow scanning -->
                        <param name="AllowScan" value="0"><!-- Do not show contect menu on right mouse click -->
                        <param name="EnableContextMenu" value="0"><!-- Do not allow playback toggling on mouse click -->
                        <param name="ClickToPlay" value="0">
                    </object>
                </div>
                <div class="song_play_buttom">
                    play!
                </div>
                <div class="song_info_commend_text">
                    <div class="song_info_commend_text_head">
                        <div class="song_info_commend_text_head_text">
                            歌词
                        </div>
                        <div class="song_info_commend_text_head_commend">
                            评论
                        </div>
                    </div>
                    <div class="song_info_commend_text_body">
                        暂无相关内容
                    </div>
                </div>
            </div>
            <div class="mid">
                <div class="random">
                    随便听听 
                </div>
                <div class="play_list_tag">
                    播放列表：
                    <form id="select_song_list" name="select_song_list" method="post" action="">
                        <input name="select_song_list_cancel" type="button" value="取消"/>
                    </form>
                </div>
                <div class="play_list_func">
                    <div class="play_list_func_select_list">
                        选择列表 
                    </div>
                    <div class="play_list_func_save_this_list">
                        保存列表 
                    </div>
                    <div class="play_list_func_list_save_to">
                        另存列表 
                    </div>
                    <div class="play_list_func_delete_list">
                        删除列表 
                    </div>
                    <form action="" method="get" name="delete_list" id="select_delete_list">
                    </form>
                    <div class="select_song_save_as_input">
                        <label>
                            <input type="text" name="save_as_song_list_name" />
                        </label><input name="submit_save_as_song_list_name" type="button" value="提交"/>
                    </div>
                </div>
                <div class="play_list_add_song">
                    添加歌曲 
                </div>
                <div class="play_list">
                    <form id="play_list_song" name="play_list_form" method="post" action="">
                    </form>
                </div>
                <div class="deal_with_song_in_play_list">
                    <div class="deal_with_song_in_play_list_select_all">
                        全选 
                    </div>
                    <div class="deal_with_song_in_play_list_reverse">
                        反选 
                    </div>
                    <div class="deal_with_song_in_play_list_reset">
                        重置 
                    </div>
                    <div class="deal_with_song_in_play_list_commend">
                        推荐 
                    </div>
                    <div class="deal_with_song_in_play_list_delete">
                        删除 
                    </div>
                    <div class="deal_with_song_in_play_list_delete_all">
                        清空 
                    </div>
                </div>
            </div>
            <div class="right">
                <div class="file_select">
                    <div class="file_select_head">
                        <div class="file_select_head_server_file">
                            本地服务器文件 
                        </div>
                        <div class="file_select_head_ftp_file">
                            校内ftp资源 
                        </div>
                        <div class="file_select_head_close">
                            关闭 
                        </div>
                    </div>
                    <div class="file_select_server_file">
                        <div class="file_select_dir">
                            <input name="" type="hidden" value="" />目录 
                        </div>
                        <form id="server_file" name="server_file_list_form" method="post" action="">
                        </form>
                    </div>
                    <div class="file_select_foot">
                        <div class="file_select_select_all">
                            全选 
                        </div>
                        <div class="file_select_reverse">
                            反选 
                        </div>
                        <div class="file_select_reset">
                            重置 
                        </div>
                        <div class="file_select_cancel">
                            取消 
                        </div>
                        <div class="file_select_add_song">
                            添加 
                        </div>
                    </div>
                </div>
                <div class="top_played_and_commemd">
                    <div class="top_played_and_commemd_head">
                        <div class="top_played_and_commemd_head_top_played">
                            点击top
                        </div>
                        <div class="top_played_and_commemd_head_top_commend">
                            推荐top
                        </div>
						<div class="top_played_and_commemd_head_top_search">
						搜索
						</div>
                    </div>
                    <div class="top_played_and_commemd_body">
						<div class="top_played_and_commemd_body_search">
							<input  class="top_played_and_commemd_body_search_input" name="search_input" type="text" />
							<input class="top_played_and_commemd_body_search_submit" name="submit_search" type="button" value="搜索" />
							<div class="top_played_and_commemd_body_search_top_search">
								<div class="top_search">top_search1</div>
								<div class="top_search">top_search1</div>
								<div class="top_search">top_search1</div>
								<div class="top_search">top_search1</div>
								<div class="top_search">top_search1</div>
							</div>
						</div>
                        <form id="top_played" action="" method="post" name="top_played_form">
                        </form>
                    </div>
                    <div class="top_played_and_commemd_foot">
                        <div class="top_select_select_all">
                            全选 
                        </div>
                        <div class="top_select_reverse">
                            反选 
                        </div>
                        <div class="top_select_reset">
                            重置 
                        </div>
                        <div class="top_select_add_song">
                            添加 
                        </div>
                    </div>
                </div>
                <div class="commend_window">
                    <div class="commend_window_head">
                        <div class="commend_window_head_name">
                            推荐歌曲
                        </div>
                        <div class="commend_window_head_close">
                            X
                        </div>
                    </div>
                    <div class="commend_window_body">
                        您将要推荐以下歌曲：
                        <br/>
                        <div class="commend_window_body_list">
                        </div>
                        请输入推荐理由：(*)
                        <br/>
                        <textarea name="commend_text"></textarea>
                        <input name="submit_commend" type="button" value="提交" /><input name="cancel_commend" type="button" value="取消" />
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>